package com.appcenter.application.model;


import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@NameStyle(Style.normal)
@Table(name="rolepermissions")
@Entity
public class RolePermissions {

    @javax.persistence.Id
    private String id;
    public String getId(){return this.id;}
    public void setId(String id){this.id=id;}

    private String roleId;
    public String getRoleId(){return this.roleId;}
    public void setRoleId(String roleId){this.roleId=roleId;}

    private String permissionId;
    public String getPermissionId(){return this.permissionId;}
    public void setPermissionId(String permissionId){this.permissionId=permissionId;}

    private String createTime;
    private String createUserId;
    private Boolean validStatus;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Boolean getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(Boolean validStatus) {
        this.validStatus = validStatus;
    }
}
